package com.neusoft.boot_ssm_crud.service;

import com.github.pagehelper.PageInfo;
import com.neusoft.boot_ssm_crud.domain.User;
import com.neusoft.boot_ssm_crud.domain.UserExample;
import java.util.List;

public interface IUserService {

    int insert(User record);

    int deleteByExample(String username,UserExample example);

    int deleteByPrimaryKey(Long userId);

    User selectByPrimaryKey(Long userId);

    List<User> selectByExample(UserExample example);

    int updateByExample(User record);

    PageInfo<User> queryUserByPage(int pageNo,int PageSize);

}
